package com.chen.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("C_T_TEST")
public class CTTest {

    @TableId(value = "id" ,type = IdType.ASSIGN_UUID)
    private String id;
    @TableField(value = "name")
    private String name;
    @TableField(value = "address")
    private String address;


    public CTTest() {
    }

    public CTTest(String name, String address) {
        this.name = name;
        this.address = address;
    }

    @Override
    public String toString() {
        return "CTTest{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", address='" + address + '\'' +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public CTTest(String id, String name, String address) {
        this.id = id;
        this.name = name;
        this.address = address;
    }
}
